Optimal. Leaf size=33 \[ -\tan ^{-1}\left (\frac{\coth (x)}{\sqrt{\coth ^2(x)-2}}\right )-\tanh ^{-1}\left (\frac{\coth (x)}{\sqrt{\coth ^2(x)-2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0241303, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.6, Rules used = {4128, 402, 217, 206, 377, 203} \[ -\tan ^{-1}\left (\frac{\coth (x)}{\sqrt{\coth ^2(x)-2}}\right )-\tanh ^{-1}\left (\frac{\coth (x)}{\sqrt{\coth ^2(x)-2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4128
Rule 402
Rule 217
Rule 206
Rule 377
Rule 203
Rubi steps
\begin{align*} \int \sqrt{-1+\text{csch}^2(x)} \, dx &=\operatorname{Subst}\left (\int \frac{\sqrt{-2+x^2}}{1-x^2} \, dx,x,\coth (x)\right )\\ &=-\operatorname{Subst}\left (\int \frac{1}{\sqrt{-2+x^2}} \, dx,x,\coth (x)\right )-\operatorname{Subst}\left (\int \frac{1}{\left (1-x^2\right ) \sqrt{-2+x^2}} \, dx,x,\coth (x)\right )\\ &=-\operatorname{Subst}\left (\int \frac{1}{1-x^2} \, dx,x,\frac{\coth (x)}{\sqrt{-2+\coth ^2(x)}}\right )-\operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\frac{\coth (x)}{\sqrt{-2+\coth ^2(x)}}\right )\\ &=-\tan ^{-1}\left (\frac{\coth (x)}{\sqrt{-2+\coth ^2(x)}}\right )-\tanh ^{-1}\left (\frac{\coth (x)}{\sqrt{-2+\coth ^2(x)}}\right )\\ \end{align*}
Mathematica [B] time = 0.0375777, size = 68, normalized size = 2.06 \[ \frac{\sqrt{2} \sinh (x) \sqrt{\text{csch}^2(x)-1} \left (\log \left (\sqrt{2} \cosh (x)+\sqrt{\cosh (2 x)-3}\right )+\tan ^{-1}\left (\frac{\sqrt{2} \cosh (x)}{\sqrt{\cosh (2 x)-3}}\right )\right )}{\sqrt{\cosh (2 x)-3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.115, size = 0, normalized size = 0. \begin{align*} \int \sqrt{-1+ \left ({\rm csch} \left (x\right ) \right ) ^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{\operatorname{csch}\left (x\right )^{2} - 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.25153, size = 1273, normalized size = 38.58 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{\operatorname{csch}^{2}{\left (x \right )} - 1}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{\operatorname{csch}\left (x\right )^{2} - 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]